<template>
    <el-input
            ref="elInput"
            v-bind="$attrs"
            size="mini"
            :value="value"
            v-on:focus="($event)=>{$emit('focus', $event)}"
            v-on:blur="($event)=>{$emit('blur', $event)}"
            v-on:change="(val)=>{$emit('change', val)}"
            v-on:input="(val)=>{$emit('input', val)}"
    >
        <el-popover
                placement="right"
                width="500"
                slot="append"
                trigger="click">
            <StElCron @okSetting="(val)=>{$emit('input', val)}"></StElCron>
            <el-button slot="reference"
                       :disabled="$attrs.disabled">设置</el-button>
        </el-popover>

    </el-input>
</template>

<script>
    import StElCron from './StElCron'
    export default {
        name: "StElCronInput",
        components:{StElCron},
        props: {
            value: {},
        },
        data() {
            return {}
        },
        methods: {}
    }
</script>

<style scoped>

</style>